

<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>



<head>
  <meta charset="UTF-8">

  <link rel="apple-touch-icon" sizes="76x76" href="/img/goose.png">
  <link rel="icon" href="/img/goose.png">
  

  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="author" content="Victor">
  <meta name="keywords" content="">
  
    <meta name="description" content="edition1 要将尾注的数字加上中括号，您可以自定义一个新的脚注命令。这里是一种实现方式：  在文档的导言区（preamble）添加以下代码：  123456789\usepackage&#123;etoolbox&#125;\renewcommand&#123;\thefootnote&#125;&#123;[\arabic&#123;footnote&#125;]&#125;\makeat">
<meta property="og:type" content="article">
<meta property="og:title" content="关于LaTeX尾注">
<meta property="og:url" content="https://zhoucourier.github.io/2024/09/05/%E5%B0%BE%E6%B3%A8/index.html">
<meta property="og:site_name" content="Victor&#39;s blog">
<meta property="og:description" content="edition1 要将尾注的数字加上中括号，您可以自定义一个新的脚注命令。这里是一种实现方式：  在文档的导言区（preamble）添加以下代码：  123456789\usepackage&#123;etoolbox&#125;\renewcommand&#123;\thefootnote&#125;&#123;[\arabic&#123;footnote&#125;]&#125;\makeat">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2024-09-05T13:27:09.612Z">
<meta property="article:modified_time" content="2024-11-30T13:17:25.472Z">
<meta property="article:author" content="Victor">
<meta name="twitter:card" content="summary_large_image">
  
  
  
  <title>关于LaTeX尾注 - Victor&#39;s blog</title>

  <link  rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />



  <link  rel="stylesheet" href="https://lib.baomitu.com/github-markdown-css/4.0.0/github-markdown.min.css" />

  <link  rel="stylesheet" href="https://lib.baomitu.com/hint.css/2.7.0/hint.min.css" />

  <link  rel="stylesheet" href="https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.css" />

  <link  rel="stylesheet" href="https://lib.baomitu.com/KaTeX/0.16.2/katex.min.css" />



<!-- 主题依赖的图标库，不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->

<link rel="stylesheet" href="//at.alicdn.com/t/c/font_1749284_5i9bdhy70f8.css">



<link rel="stylesheet" href="//at.alicdn.com/t/c/font_1736178_k526ubmyhba.css">


<link  rel="stylesheet" href="/css/main.css" />


  <link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
  
    <link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
  




  <script id="fluid-configs">
    var Fluid = window.Fluid || {};
    Fluid.ctx = Object.assign({}, Fluid.ctx)
    var CONFIG = {"hostname":"zhoucourier.github.io","root":"/","version":"1.9.8","typing":{"enable":true,"typeSpeed":50,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"left","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":true,"follow_dnt":true,"baidu":null,"google":{"measurement_id":null},"tencent":{"sid":null,"cid":null},"leancloud":{"app_id":"tug7FNRscgxNLfy5wuyQCOHw-MdYXbMMI","app_key":"3wRjVGCsJDHKYTxHzELIibA7","server_url":null,"path":"window.location.pathname","ignore_local":true},"umami":{"src":null,"website_id":null,"domains":null,"start_time":"2024-01-01T00:00:00.000Z","token":null,"api_server":null}},"search_path":"/local-search.xml","include_content_in_search":true};

    if (CONFIG.web_analytics.follow_dnt) {
      var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
      Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
    }
  </script>
  <script  src="/js/utils.js" ></script>
  <script  src="/js/color-schema.js" ></script>
  

  

  

  

  

  
    
  



  
<meta name="generator" content="Hexo 7.3.0"></head>


<body>
  

  <header>
    

<div class="header-inner" style="height: 70vh;">
  <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand" href="/">
      <strong>Victor</strong>
    </a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/" target="_self">
                <i class="iconfont icon-home-fill"></i>
                <span>首页</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/archives/" target="_self">
                <i class="iconfont icon-archive-fill"></i>
                <span>归档</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/categories/" target="_self">
                <i class="iconfont icon-category-fill"></i>
                <span>分类</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/tags/" target="_self">
                <i class="iconfont icon-tags-fill"></i>
                <span>标签</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/about/" target="_self">
                <i class="iconfont icon-user-fill"></i>
                <span>关于</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/links/" target="_self">
                <i class="iconfont icon-link-fill"></i>
                <span>友链</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/languages/" target="_self">
                <i class="iconfont icon-language-fill"></i>
                <span>languages</span>
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
              <i class="iconfont icon-search"></i>
            </a>
          </li>
          
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">
              <i class="iconfont icon-dark" id="color-toggle-icon"></i>
            </a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

  

<div id="banner" class="banner" parallax=true
     style="background: url('/img/default.png') no-repeat center center; background-size: cover;">
  <div class="full-bg-img">
    <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
      <div class="banner-text text-center fade-in-up">
        <div class="h2">
          
            <span id="subtitle" data-typed-text="关于LaTeX尾注"></span>
          
        </div>

        
          
  <div class="mt-3">
    
    
      <span class="post-meta">
        <i class="iconfont icon-date-fill" aria-hidden="true"></i>
        <time datetime="2024-09-05 21:27" pubdate>
          2024年9月5日 晚上
        </time>
      </span>
    
  </div>

  <div class="mt-1">
    
      <span class="post-meta mr-2">
        <i class="iconfont icon-chart"></i>
        
          1.2k 字
        
      </span>
    

    
      <span class="post-meta mr-2">
        <i class="iconfont icon-clock-fill"></i>
        
        
        
          10 分钟
        
      </span>
    

    
    
      
        <span id="leancloud-page-views-container" class="post-meta" style="display: none">
          <i class="iconfont icon-eye" aria-hidden="true"></i>
          <span id="leancloud-page-views"></span> 次
        </span>
        
      
      
    
  </div>


        
      </div>

      
    </div>
  </div>
</div>

</div>

  </header>

  <main>
    
      

<div class="container-fluid nopadding-x">
  <div class="row nomargin-x">
    <div class="side-col d-none d-lg-block col-lg-2">
      
  <aside class="sidebar" style="padding-left: 2rem; margin-right: -1rem">
    <div id="toc">
  <p class="toc-header">
    <i class="iconfont icon-list"></i>
    <span>目录</span>
  </p>
  <div class="toc-body" id="toc-body"></div>
</div>



  </aside>


    </div>

    <div class="col-lg-8 nopadding-x-md">
      <div class="container nopadding-x-md" id="board-ctn">
        <div id="board">
          <article class="post-content mx-auto">
            <h1 id="seo-header">关于LaTeX尾注</h1>
            
              <p id="updated-time" class="note note-info" style="">
                
                  
                    本文最后更新于 2024年11月30日 晚上
                  
                
              </p>
            
            
              <div class="markdown-body">
                
                <h3 id="edition1">edition1</h3>
<p>要将尾注的数字加上中括号，您可以自定义一个新的脚注命令。这里是一种实现方式：</p>
<ol>
<li>在文档的导言区（preamble）添加以下代码：</li>
</ol>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><code class="hljs latex"><span class="hljs-keyword">\usepackage</span>&#123;etoolbox&#125;<br><span class="hljs-keyword">\renewcommand</span>&#123;<span class="hljs-keyword">\thefootnote</span>&#125;&#123;[<span class="hljs-keyword">\arabic</span>&#123;footnote&#125;]&#125;<br><span class="hljs-keyword">\makeatletter</span><br><span class="hljs-keyword">\patchcmd</span>&#123;<span class="hljs-keyword">\@makefntext</span>&#125;&#123;<span class="hljs-comment">%</span><br>  <span class="hljs-keyword">\hss</span><span class="hljs-keyword">\@makefnmark</span><br>&#125;&#123;<span class="hljs-comment">%</span><br>  <span class="hljs-keyword">\hss</span><span class="hljs-keyword">\@makefnmark</span><span class="hljs-keyword">\enspace</span><br>&#125;&#123;&#125;&#123;&#125;<br><span class="hljs-keyword">\makeatother</span><br></code></pre></td></tr></table></figure>
<ol start="2">
<li>然后在正文中使用 <code>\footnote</code> 命令时，就会自动在脚注中显示带中括号的数字。</li>
</ol>
<p>例如：</p>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs latex">这是一个示例句子<span class="hljs-keyword">\footnote</span>&#123;这是脚注内容&#125;。<br></code></pre></td></tr></table></figure>
<p>这将产生一个带有 “[1]” 样式的脚注。</p>
<p>如果您只想在特定的脚注中使用中括号，而不是全局更改，您可以定义一个新的命令：</p>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs latex"><span class="hljs-keyword">\newcommand</span>&#123;<span class="hljs-keyword">\bracketfootnote</span>&#125;[1]&#123;<span class="hljs-keyword">\footnote</span>&#123;[<span class="hljs-keyword">\arabic</span>&#123;footnote&#125;] <span class="hljs-params">#1</span>&#125;&#125;<br></code></pre></td></tr></table></figure>
<p>然后在需要使用带中括号的脚注时使用此命令：</p>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs latex">这是一个示例句子<span class="hljs-keyword">\bracketfootnote</span>&#123;这是带中括号的脚注内容&#125;。<br></code></pre></td></tr></table></figure>
<p>这样，您就可以灵活地在带中括号和不带中括号的脚注之间切换了。</p>
<h3 id="edition2">edition2</h3>
<p>明白了，您希望能够为尾注指定特定的数字，而不是自动递增的编号。我们可以进一步修改自定义命令来实现这一点。以下是一种可行的方法：</p>
<ol>
<li>在导言区定义修改后的自定义命令：</li>
</ol>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br></pre></td><td class="code"><pre><code class="hljs latex"><span class="hljs-keyword">\usepackage</span>&#123;hyperref&#125;  <span class="hljs-comment">% 如果需要超链接功能</span><br><br><span class="hljs-keyword">\newcommand</span>&#123;<span class="hljs-keyword">\myendnote</span>&#125;[2]&#123;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\textsuperscript</span>&#123;[<span class="hljs-params">#1</span>]&#125;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\hypertarget</span>&#123;endnote:<span class="hljs-params">#1</span>&#125;&#123;&#125;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\expandafter</span><span class="hljs-keyword">\gdef</span><span class="hljs-keyword">\csname</span> endnote<span class="hljs-params">#1</span><span class="hljs-keyword">\endcsname</span>&#123;<span class="hljs-params">#2</span>&#125;<span class="hljs-comment">%</span><br>&#125;<br><br><span class="hljs-keyword">\newcommand</span>&#123;<span class="hljs-keyword">\printmyendnotes</span>&#125;&#123;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\begin</span>&#123;enumerate&#125;<br>    <span class="hljs-keyword">\foreach</span> <span class="hljs-keyword">\x</span> in &#123;1,...,9&#125; &#123;<span class="hljs-comment">%</span><br>        <span class="hljs-keyword">\ifcsname</span> endnote<span class="hljs-keyword">\x</span><span class="hljs-keyword">\endcsname</span><br>            <span class="hljs-keyword">\item</span>[<span class="hljs-keyword">\textsuperscript</span>&#123;[<span class="hljs-keyword">\x</span>]&#125;] <span class="hljs-keyword">\hyperlink</span>&#123;endnote:<span class="hljs-keyword">\x</span>&#125;&#123;&#125;<span class="hljs-keyword">\csname</span> endnote<span class="hljs-keyword">\x</span><span class="hljs-keyword">\endcsname</span><br>        <span class="hljs-keyword">\fi</span><br>    &#125;<br>    <span class="hljs-keyword">\end</span>&#123;enumerate&#125;<br>&#125;<br></code></pre></td></tr></table></figure>
<ol start="2">
<li>在正文中使用时，指定尾注编号：</li>
</ol>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><code class="hljs latex">这是一个需要尾注的句子<span class="hljs-keyword">\myendnote</span>&#123;1&#125;&#123;这是第一个尾注内容&#125;。<br>这是另一个需要尾注的句子<span class="hljs-keyword">\myendnote</span>&#123;2&#125;&#123;这是第二个尾注内容&#125;。<br>这是第三个需要尾注的句子<span class="hljs-keyword">\myendnote</span>&#123;3&#125;&#123;这是第三个尾注内容&#125;。<br></code></pre></td></tr></table></figure>
<ol start="3">
<li>在文档末尾打印尾注的方式不变：</li>
</ol>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><code class="hljs latex"><span class="hljs-keyword">\clearpage</span>  <span class="hljs-comment">% 或 \newpage</span><br><span class="hljs-keyword">\section</span>*&#123;尾注&#125;<br><span class="hljs-keyword">\printmyendnotes</span><br></code></pre></td></tr></table></figure>
<p>这种修改后的方法有以下特点：</p>
<ol>
<li>您可以为每个尾注指定特定的编号。</li>
<li>在正文中，尾注编号会以上标的中括号形式显示，例如 [¹]、[²]、[³] 等。</li>
<li>不会在页面底部显示尾注内容。</li>
<li>在文档末尾的尾注部分，每个尾注项会按指定的编号排列。</li>
<li>保留了超链接功能（如果使用了 hyperref 包）。</li>
</ol>
<p>注意事项：</p>
<ol>
<li>这个方法允许您使用 1-9 的编号。如果需要更多编号，可以在 <code>\printmyendnotes</code> 命令中扩展范围。</li>
<li>确保不要重复使用相同的编号，否则后面的内容会覆盖前面的。</li>
<li>您不必按顺序使用编号，可以根据需要跳过某些数字。</li>
</ol>
<p>如果您想进一步自定义尾注的样式或格式，可以在 <code>\myendnote</code> 和 <code>\printmyendnotes</code> 命令中进行调整。</p>
<h3 id="edition3">edition3</h3>
<p>当然可以。我们可以修改自定义命令，使尾注编号在文中以中括号形式显示。以下是修改后的方法：</p>
<ol>
<li>在导言区定义修改后的自定义命令：</li>
</ol>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><code class="hljs latex"><span class="hljs-keyword">\usepackage</span>&#123;hyperref&#125;  <span class="hljs-comment">% 如果需要超链接功能</span><br><br><span class="hljs-keyword">\newcounter</span>&#123;endnotecounter&#125;<br><span class="hljs-keyword">\renewcommand</span>&#123;<span class="hljs-keyword">\theendnotecounter</span>&#125;&#123;<span class="hljs-keyword">\arabic</span>&#123;endnotecounter&#125;&#125;<br><br><span class="hljs-keyword">\newcommand</span>&#123;<span class="hljs-keyword">\myendnote</span>&#125;[1]&#123;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\refstepcounter</span>&#123;endnotecounter&#125;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\textsuperscript</span>&#123;[<span class="hljs-keyword">\theendnotecounter</span>]&#125;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\hypertarget</span>&#123;endnote:<span class="hljs-keyword">\theendnotecounter</span>&#125;&#123;&#125;<span class="hljs-comment">%</span><br>&#125;<br><br><span class="hljs-keyword">\newcommand</span>&#123;<span class="hljs-keyword">\printmyendnotes</span>&#125;&#123;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\setcounter</span>&#123;endnotecounter&#125;&#123;0&#125;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\begin</span>&#123;enumerate&#125;<br>    <span class="hljs-keyword">\foreach</span> <span class="hljs-keyword">\x</span> in &#123;1,...,<span class="hljs-keyword">\value</span>&#123;endnotecounter&#125;&#125; &#123;<span class="hljs-comment">%</span><br>        <span class="hljs-keyword">\item</span>[<span class="hljs-keyword">\textsuperscript</span>&#123;[<span class="hljs-keyword">\x</span>]&#125;] <span class="hljs-keyword">\hyperlink</span>&#123;endnote:<span class="hljs-keyword">\x</span>&#125;&#123;&#125;<br>    &#125;<br>    <span class="hljs-keyword">\end</span>&#123;enumerate&#125;<br>&#125;<br></code></pre></td></tr></table></figure>
<ol start="2">
<li>在正文中使用方式不变：</li>
</ol>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><code class="hljs latex">这是一个需要尾注的句子<span class="hljs-keyword">\myendnote</span>&#123;这是尾注内容&#125;。<br>这是另一个需要尾注的句子<span class="hljs-keyword">\myendnote</span>&#123;这是另一个尾注内容&#125;。<br></code></pre></td></tr></table></figure>
<ol start="3">
<li>在文档末尾打印尾注的方式也不变：</li>
</ol>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><code class="hljs latex"><span class="hljs-keyword">\clearpage</span>  <span class="hljs-comment">% 或 \newpage</span><br><span class="hljs-keyword">\section</span>*&#123;尾注&#125;<br><span class="hljs-keyword">\printmyendnotes</span><br></code></pre></td></tr></table></figure>
<p>这种修改后的方法有以下特点：</p>
<ol>
<li>在正文中，尾注编号会以上标的中括号形式显示，例如 [¹]、[²] 等。</li>
<li>不会在页面底部显示尾注内容。</li>
<li>在文档末尾的尾注部分，每个尾注项也会以中括号形式编号。</li>
<li>保留了超链接功能（如果使用了 hyperref 包）。</li>
</ol>
<p>如果您想进一步调整尾注的样式，例如改变中括号的大小或颜色，可以在 <code>\myendnote</code> 命令中进行更多自定义。例如：</p>
<figure class="highlight latex"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><code class="hljs latex"><span class="hljs-keyword">\newcommand</span>&#123;<span class="hljs-keyword">\myendnote</span>&#125;[1]&#123;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\refstepcounter</span>&#123;endnotecounter&#125;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\textsuperscript</span>&#123;<span class="hljs-keyword">\small</span>[<span class="hljs-keyword">\theendnotecounter</span>]&#125;<span class="hljs-comment">%</span><br>    <span class="hljs-keyword">\hypertarget</span>&#123;endnote:<span class="hljs-keyword">\theendnotecounter</span>&#125;&#123;&#125;<span class="hljs-comment">%</span><br>&#125;<br></code></pre></td></tr></table></figure>
<p>这会使中括号稍微小一些。您可以根据需要进行更多调整。</p>
<link rel="stylesheet" href="/css/spoiler.css" type="text/css"><script src="/js/spoiler.js" type="text/javascript" async></script>
                
              </div>
            
            <hr/>
            <div>
              <div class="post-metas my-3">
  
  
</div>


              
  

  <div class="license-box my-3">
    <div class="license-title">
      <div>关于LaTeX尾注</div>
      <div>https://zhoucourier.github.io/2024/09/05/尾注/</div>
    </div>
    <div class="license-meta">
      
        <div class="license-meta-item">
          <div>作者</div>
          <div>Victor</div>
        </div>
      
      
        <div class="license-meta-item license-meta-date">
          <div>发布于</div>
          <div>2024年9月5日</div>
        </div>
      
      
      
        <div class="license-meta-item">
          <div>许可协议</div>
          <div>
            
              
              
                <a class="print-no-link" target="_blank" href="https://creativecommons.org/licenses/by/4.0/">
                  <span class="hint--top hint--rounded" aria-label="BY - 署名">
                    <i class="iconfont icon-cc-by"></i>
                  </span>
                </a>
              
            
          </div>
        </div>
      
    </div>
    <div class="license-icon iconfont"></div>
  </div>



              
                <div class="post-prevnext my-3">
                  <article class="post-prev col-6">
                    
                    
                      <a href="/2024/09/21/node.js%20installation/" title="Mac 安装Node.js 20 后`node -v` 和 `npm -v`找不到的解决方案">
                        <i class="iconfont icon-arrowleft"></i>
                        <span class="hidden-mobile">Mac 安装Node.js 20 后`node -v` 和 `npm -v`找不到的解决方案</span>
                        <span class="visible-mobile">上一篇</span>
                      </a>
                    
                  </article>
                  <article class="post-next col-6">
                    
                    
                      <a href="/2024/04/03/notes_The%20Python%20Book_20240418/" title="notes_The Python Book_20240418">
                        <span class="hidden-mobile">notes_The Python Book_20240418</span>
                        <span class="visible-mobile">下一篇</span>
                        <i class="iconfont icon-arrowright"></i>
                      </a>
                    
                  </article>
                </div>
              
            </div>

            
  
  
    <article id="comments" lazyload>
      

    </article>
  


          </article>
        </div>
      </div>
    </div>

    <div class="side-col d-none d-lg-block col-lg-2">
      

    </div>
  </div>
</div>





  



  



  



  



  


  
  




  <script>
  Fluid.utils.createScript('https://lib.baomitu.com/mermaid/8.14.0/mermaid.min.js', function() {
    mermaid.initialize({"theme":"default"});

    Fluid.utils.listenDOMLoaded(function() {
      Fluid.events.registerRefreshCallback(function() {
        if ('mermaid' in window) {
          mermaid.init();
        }
      });
    });
  });
</script>






    

    
      <a id="scroll-top-button" aria-label="TOP" href="#" role="button">
        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
      </a>
    

    
      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v" for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>

    

    
  </main>

  <footer>
    <div class="footer-inner">
  
    <div class="footer-content">
       <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a> 
    </div>
  
  
    <div class="statistics">
  
  

  
    
      <span id="leancloud-site-pv-container" style="display: none">
        总访问量 
        <span id="leancloud-site-pv"></span>
         次
      </span>
    
    
      <span id="leancloud-site-uv-container" style="display: none">
        总访客数 
        <span id="leancloud-site-uv"></span>
         人
      </span>
    
    

  

</div>

  
  
</div>

  </footer>

  <!-- Scripts -->
  
  <script  src="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.js" ></script>
  <link  rel="stylesheet" href="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.css" />

  <script>
    NProgress.configure({"showSpinner":false,"trickleSpeed":100})
    NProgress.start()
    window.addEventListener('load', function() {
      NProgress.done();
    })
  </script>


<script  src="https://lib.baomitu.com/jquery/3.6.4/jquery.min.js" ></script>
<script  src="https://lib.baomitu.com/twitter-bootstrap/4.6.1/js/bootstrap.min.js" ></script>
<script  src="/js/events.js" ></script>
<script  src="/js/plugins.js" ></script>


  <script  src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js" ></script>
  <script>
    (function (window, document) {
      var typing = Fluid.plugins.typing;
      var subtitle = document.getElementById('subtitle');
      if (!subtitle || !typing) {
        return;
      }
      var text = subtitle.getAttribute('data-typed-text');
      
        typing(text);
      
    })(window, document);
  </script>




  
    <script  src="/js/img-lazyload.js" ></script>
  




  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/tocbot/4.20.1/tocbot.min.js', function() {
    var toc = jQuery('#toc');
    if (toc.length === 0 || !window.tocbot) { return; }
    var boardCtn = jQuery('#board-ctn');
    var boardTop = boardCtn.offset().top;

    window.tocbot.init(Object.assign({
      tocSelector     : '#toc-body',
      contentSelector : '.markdown-body',
      linkClass       : 'tocbot-link',
      activeLinkClass : 'tocbot-active-link',
      listClass       : 'tocbot-list',
      isCollapsedClass: 'tocbot-is-collapsed',
      collapsibleClass: 'tocbot-is-collapsible',
      scrollSmooth    : true,
      includeTitleTags: true,
      headingsOffset  : -boardTop,
    }, CONFIG.toc));
    if (toc.find('.toc-list-item').length > 0) {
      toc.css('visibility', 'visible');
    }

    Fluid.events.registerRefreshCallback(function() {
      if ('tocbot' in window) {
        tocbot.refresh();
        var toc = jQuery('#toc');
        if (toc.length === 0 || !tocbot) {
          return;
        }
        if (toc.find('.toc-list-item').length > 0) {
          toc.css('visibility', 'visible');
        }
      }
    });
  });
</script>


  <script src=https://lib.baomitu.com/clipboard.js/2.0.11/clipboard.min.js></script>

  <script>Fluid.plugins.codeWidget();</script>


  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/anchor-js/5.0.0/anchor.min.js', function() {
    window.anchors.options = {
      placement: CONFIG.anchorjs.placement,
      visible  : CONFIG.anchorjs.visible
    };
    if (CONFIG.anchorjs.icon) {
      window.anchors.options.icon = CONFIG.anchorjs.icon;
    }
    var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
    var res = [];
    for (var item of el) {
      res.push('.markdown-body > ' + item.trim());
    }
    if (CONFIG.anchorjs.placement === 'left') {
      window.anchors.options.class = 'anchorjs-link-left';
    }
    window.anchors.add(res.join(', '));

    Fluid.events.registerRefreshCallback(function() {
      if ('anchors' in window) {
        anchors.removeAll();
        var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
        var res = [];
        for (var item of el) {
          res.push('.markdown-body > ' + item.trim());
        }
        if (CONFIG.anchorjs.placement === 'left') {
          anchors.options.class = 'anchorjs-link-left';
        }
        anchors.add(res.join(', '));
      }
    });
  });
</script>


  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.js', function() {
    Fluid.plugins.fancyBox();
  });
</script>


  <script>Fluid.plugins.imageCaption();</script>

  <script defer src="/js/leancloud.js" ></script>

  <script  src="/js/local-search.js" ></script>





<!-- 主题的启动项，将它保持在最底部 -->
<!-- the boot of the theme, keep it at the bottom -->
<script  src="/js/boot.js" ></script>


  

  <noscript>
    <div class="noscript-warning">博客在允许 JavaScript 运行的环境下浏览效果更佳</div>
  </noscript>
</body>
</html>
